#!/bin/sh

func_killOldProcess()
{
    for pid in `ps -ef | grep "node" | grep -v grep | grep -v $0 | awk '{print $2}'`
    do
        kill -9 ${pid}
    done
}

func_killOldProcess
